<script setup lang="ts">
import { enUS, dateEnUS } from "naive-ui";
import { useTitle } from "@vueuse/core";

useTitle(import.meta.env.VITE_APP_TITLE);
</script>

<template>
  <main class="h-full">
    <NConfigProvider class="h-full" :locale="enUS" :date-locale="dateEnUS">
      <LoadingBarProvider>
        <NNotificationProvider>
          <RequestNotification />
          <RouterView />
        </NNotificationProvider>
      </LoadingBarProvider>
    </NConfigProvider>
  </main>
</template>
